﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;

namespace Armon.Lib.Net
{
    public static class Pinger
    {
        public static bool Ping(string ip)
        {
            var sender = new Ping();
            var reply = sender.Send(ip, 120);
            return reply.Status == IPStatus.Success;
        }
    }
}
